package com.dy.队列.优先级队列;
/**
 *
 * 队首总是关键字最大或最小的元素，插入可以不仅仅在队尾，也可以在队中
 * 常用链式
 *
 */
public class PriorityQData {
    public Object elem;
    public int priority;

    public PriorityQData(Object elem, int priority) {
        this.elem = elem;
        this.priority = priority;
    }
}
